package com.zd.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author TSP
 * @Date 2021/8/22 19:34
 * @ClassName LoginEntity
 * @Description ：
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "登录对象", description = "role区分身份")
public class LoginEntity {
    @ApiModelProperty(value = "用户名", required = true)
    private String username;
    @ApiModelProperty(value = "密码", required = true)
    private String password;
    @ApiModelProperty(value = "身份", required = true)
    private String role;
    @ApiModelProperty(value = "验证码", required = true)
    private String captcha;
}
